package Cain.fb.event 
{
	import flash.events.Event;
	
	/**
	 * 取回朋友事件
	 * @author cain in liontravel 2010
	 */
	public class GetFriendsEvent extends Event 
	{
		/**
		 * 取回事件
		 */
		static public const RESPONSE:String = "onRESPONSE"
		/**
		 * 朋友資料
		 */
		public var data:Vector.<Friend>;
		public function GetFriendsEvent(type:String = "onRESPONSE", bubbles:Boolean=false, cancelable:Boolean=false) 
		{ 
			super(type, bubbles, cancelable);
			data = new Vector.<Friend>();
		} 
		
		public override function clone():Event 
		{ 
			return new GetFriendsEvent(type, bubbles, cancelable);
		} 
		
		public override function toString():String 
		{ 
			return formatToString("GetFriendsEvent", "type", "bubbles", "cancelable", "eventPhase"); 
		}
		
	}
	
}